package com.littcore.chart.echart.model.axis;

import com.littcore.chart.echart.model.style.AreaStyle;


/**
 * .
 * 
 * <pre><b>描述：</b>
 *    
 * </pre>
 * 
 * <pre><b>修改记录：</b>
 *    
 * </pre>
 * 
 * @author <a href="mailto:littcai@hotmail.com">蔡源</a>
 * @since 2015年6月25日
 * @version 1.0
 */
public class SplitArea implements java.io.Serializable {

  private static final long serialVersionUID = -5528605504445280383L;

  /**
   * 默认不显示，属性show控制显示与否
   */
  private Boolean show;
  /**
   * 属性areaStyle（详见areaStyle）控制区域样式
   *
   * @see com.github.abel533.echarts.style.AreaStyle
   */
  private AreaStyle areaStyle;

  /**
   * 获取show值
   */
  public Boolean show() {
      return this.show;
  }

  /**
   * 设置show值
   *
   * @param show
   */
  public SplitArea show(Boolean show) {
      this.show = show;
      return this;
  }

  /**
   * 设置areaStyle值
   *
   * @param areaStyle
   */
  public SplitArea areaStyle(AreaStyle areaStyle) {
      this.areaStyle = areaStyle;
      return this;
  }

  /**
   * 属性areaStyle（详见areaStyle）控制区域样式
   *
   * @see com.github.abel533.echarts.style.AreaStyle
   */
  public AreaStyle areaStyle() {
      if (this.areaStyle == null) {
          this.areaStyle = new AreaStyle();
      }
      return this.areaStyle;
  }

  /**
   * 获取areaStyle值
   */
  public AreaStyle getAreaStyle() {
      return areaStyle;
  }

  /**
   * 设置areaStyle值
   *
   * @param areaStyle
   */
  public void setAreaStyle(AreaStyle areaStyle) {
      this.areaStyle = areaStyle;
  }

  /**
   * 获取show值
   */
  public Boolean getShow() {
      return show;
  }

  /**
   * 设置show值
   *
   * @param show
   */
  public void setShow(Boolean show) {
      this.show = show;
  }

}
